package com.hougong.im.body.httpresponse;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Date;

public class SearchGroupVo {

    /**
     * 群组id
     */
    private Long id;
    /**
     * 群的名字
     */
    private String name;
    /**
     * 群的创建者
     */
    private Long creater;
    /**
     * 创建者用户名
     */
    private String cusername;
    /**
     * 创建者昵称
     */
    private String cnickname;
    /**
     * 创建者头像
     */
    private String cavatar;
    /**
     * 群的简介
     */
    private String introduction;
    /**
     * 群头像
     */
    private String gavatar;

    /**
     * 创建时间
     */
    @JsonProperty("create_time")
    private Date createtime;
    /**
     * 标签，多个逗号隔开
     */
    private String label;

    /**
     * 群成员数量
     */
    private Integer count;
    /**
     * 是否是群成员
     */
    private Boolean ingroup;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getCreater() {
        return creater;
    }

    public void setCreater(Long creater) {
        this.creater = creater;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Boolean getIngroup() {
        return ingroup;
    }

    public void setIngroup(Boolean ingroup) {
        this.ingroup = ingroup;
    }

    public String getCusername() {
        return cusername;
    }

    public void setCusername(String cusername) {
        this.cusername = cusername;
    }

    public String getCnickname() {
        return cnickname;
    }

    public void setCnickname(String cnickname) {
        this.cnickname = cnickname;
    }

    public String getCavatar() {
        return cavatar;
    }

    public void setCavatar(String cavatar) {
        this.cavatar = cavatar;
    }

    public String getGavatar() {
        return gavatar;
    }

    public void setGavatar(String gavatar) {
        this.gavatar = gavatar;
    }
}
